package org.example.seckilldemo.exception;

import org.example.seckilldemo.vo.RespBeanEnum;

/**
 * @author liyishan
 * @date 2023/12/25 17:47
 * @apiNote
 */

public class GlobalException extends RuntimeException{
    private RespBeanEnum respBeanEnum;

    public RespBeanEnum getRespBeanEnum() {
        return respBeanEnum;
    }

    public void setRespBeanEnum(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }

    public GlobalException(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }
}
